#include "OpenGLNumber.h"

#ifdef OPENGL
OpenGLNumber::OpenGLNumber()
{
	m_Inumber = 0;
	m_Fnumber = 0.0f;
	m_Dnumber = 0;
}

OpenGLNumber::OpenGLNumber(int iValue, float fValue, double dValue)
{
	m_Inumber = iValue;
	m_Fnumber = fValue;
	m_Dnumber = dValue;
}

OpenGLNumber::~OpenGLNumber() {};

void OpenGLNumber::SetNumber_Int(int iValue)
{
	LOG_I_INT(iValue);
	m_Inumber = iValue;
}
void OpenGLNumber::SetNumber_Float(float fValue)
{
	m_Fnumber = fValue;
}

void OpenGLNumber::SetNumber_Double(double dValue)
{
	m_Dnumber = dValue;
}

int OpenGLNumber::GetNumber_Int()
{
	return m_Inumber;
}

float OpenGLNumber::GetNumber_Float()
{
	return m_Fnumber;
}

double OpenGLNumber::GetNumber_Double()
{
	return m_Dnumber;
}

#endif